package com.web;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.MDC;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class RemoteController {

    @RequestMapping("/remote")
    public String hello(){
        MDC.put("first","RemoteH");
        MDC.put("last","RemoteCj");
        log.info("Hello world for remote!");
        return "hello world for remote";
    }
}
